package com.wilmer.TecherLessonPlan.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 教案管理对象 yw_lesson_plan
 * 
 * @author hans
 * @date 2024-04-27
 */
@ApiModel("教案对象，对象的属性可作为查询条件")
public class YwLessonPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教案id */
    @ApiModelProperty(value = "教案id")
    private Long lplanId;

    /** 用户id */
    @ApiModelProperty(value = "用户id")
    @Excel(name = "用户id")
    private Long userId;

    /** 部门id */
    @ApiModelProperty(value = "用户部门id")
    @Excel(name = "部门id")
    private Long deptId;

    /** 教案名字 */
    @ApiModelProperty(value = "教案名称,可以模糊查询")
    @Excel(name = "教案名字")
    private String lplanName;

    /** 教案内容 */
    @ApiModelProperty(value = "教案的主要内容，不作为查询条件")
    private String lplanMain;

    public void setLplanId(Long lplanId) 
    {
        this.lplanId = lplanId;
    }

    public Long getLplanId() 
    {
        return lplanId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLplanName(String lplanName) 
    {
        this.lplanName = lplanName;
    }

    public String getLplanName() 
    {
        return lplanName;
    }
    public void setLplanMain(String lplanMain) 
    {
        this.lplanMain = lplanMain;
    }

    public String getLplanMain() 
    {
        return lplanMain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lplanId", getLplanId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("lplanName", getLplanName())
            .append("lplanMain", getLplanMain())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
